package cn.mothin.config;

import org.springframework.stereotype.Component;

import cn.mothin.frame.core.annotation.SystemConfigType;
import cn.mothin.frame.core.base.BaseConfig;

@Component("52a53cb60c8763cda49c711f")
@SystemConfigType(id = "52afbcd65b6431c619794fff", caption = "其他")
public class SystemConfig extends BaseConfig {
    public static SystemConfig CONFIG_DEFAULT_PASSWORD = new SystemConfig(
            "52a55a680c8763cda49c7121", "默认密码", "111111");
    public static SystemConfig CONFIG_DEFAULT_DELIVERY_TIME = new SystemConfig(
            "529cb1650c874a0cb438ec6c", "默认货期", 4, "单位：周");
    public static SystemConfig CONFIG_DEFAULT_INDEPENDENT_NUMBER = new SystemConfig(
            "529cb26a0c874a0cb438ec6d", "默认是否具有独立产品编号", true,
            "false：不具有独立产品编号；true：具有独立产品编号");
    public static SystemConfig CONFIG_DEFAULT_SERIAL_NUMBER_MODE = new SystemConfig(
            "529cb2cb0c874a0cb438ec6e", "默认编码生成模式", 1, "0：手动输入；1：根据模板自动创建");
    public static SystemConfig CONFIG_DEFAULT_REMOVEFILE_DAY = new SystemConfig(
            "532bd5bba5487e00d82d3399", "默认删除临时文件天数", 10);
    public static SystemConfig CONFIG_COMPANY_NAME = new SystemConfig(
            "532fc242a548ce7e976fabe1", "公司名称", "");
    public static SystemConfig TRANSACTOR_LOCK = new SystemConfig(
            "537ab22b382ac99db21d6745", "经办人锁定", false);
    public static SystemConfig PURCHASECONTRACT_BY_PROJECT = new SystemConfig(
            "537c544d86b03d72130bacac", "采购合同按项目生成", 0, "0：不按项目分；1：按项目分");
    public static SystemConfig PURCHASE_WITH_PRICE_PROVIDER = new SystemConfig(
            "539512208f86bb704d7ff805", "采购清单提交供应商价格完整性", 0,
            "0：可不填写完整；1：必须填写完整");
    public static SystemConfig CONFIG_DEFAULT_IDENTIFYING_CODE_MODE = new SystemConfig(
            "53ccd11011035228027e91d7", "外网登录验证码模式", 0, "0：不需要发送;1：发送短信;2：发送微信");

    public SystemConfig() {
        super(null, null, null,true);
    }
    
    public SystemConfig(String id, String caption, Object value) {
        super(id, caption, value,true);
    }

    public SystemConfig(String id, String caption, Object value,boolean allowConfig) {
        super(id, caption, value,allowConfig);
    }

    public SystemConfig(String id, String caption, Object value, String memo) {
        super(id, caption, value, memo,true);
    }

    public SystemConfig(String id, String caption, Object value, String memo,
            int ordinal,boolean allowConfig) {
        super(id, caption, value, memo, ordinal,allowConfig);
    }
}
